package com.yang.zngcxyxkjs.mapper;

import com.yang.zngcxyxkjs.pojo.Application;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ApplicationMapper {

    boolean insertApplication(Application application);

    List<Application> selectAllApplicationsByStuNo(String stuNo);

    List<Application> selectAllApplicationsByTeaName(String teaName);

    List<Application> selectAllApplicationsByTeaNamePass(String teaName);

    boolean updateApplicationResult();

    boolean updateApplicationResultNotPassByComIdAndStuNo(Integer comId,String stuNo);

    boolean defaultApplicationComment();

    boolean cancelApplication(Integer comId,String stuNo);

    boolean teacherAuditPassById(Integer id);

    Application getApplicationInfoById(Integer id);

    boolean unPassComment(String comment,Integer comId,String stuNo);

}
